Technical Q&A
OPS 21 - dlsDelta field in PRAM's time zone
MachineLocation record (17-May-1999)
Q: How is the dlsDelta field in PRAM's time zone
MachineLocation record used and set?
A: Currently, the dlsDelta field is not being used
by Macintosh system software, nor is its meaning defined. There
are plans to use it in the future, so it's important that
you preserve its current value if you ever use
WriteLocation to set the value of
gmtDelta . See the description of the
WriteLocation routine in "WorldWide Development:
Guide to System Software," available on the latest Developer CD
for details on getting and setting
gmtDelta while leaving dlsDelta
intact. In short, the code looks like this:
VAR
myLocation: Location;
myGMTDelta: LongInt;
tempSignedByte: SignedByte;
:
tempSignedByte := myLocation.dlsDelta;
myLocation.gmtDelta := myGMTDelta;
myLocation.dlsDelta := tempSignedByte;
|
-- Mark Cookson
Worldwide Developer Technical Support
Technical Q&As | Contents
Previous Question | Next Question
To contact us, please use the Contact Us page.
|